Developer --> Technical Publications
PATH Hardware Documentation > Device Managers and Drivers > ATA Devices > ATA Device Software Guide


return media icon

The return media icon control function returns a pointer to the media icon and the location string. The media icon will differ depending on the media (hard drive, CD-ROM drive, or PCMCIA drive).


Parameter block

-->

csCode

A value of 22.
-->

ioVRefNum

The logical drive number.
-->

csParam[ ]

None defined.
<--

csParam[0-1]

Address of drive icon and location string (information is in ICN# format).
<--

ioResult

See result codes.
RESULT CODES

noErr

0 Successful completion, no error occurred

nsDrvErr

-56 The specified logical drive number does not exist

© 1999 Apple Computer, Inc. — (Last Updated 30 Oct 97)

Previous | Back Up One Level | Next | Show Frames | Hide Frames